﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TX.Core;
using TX.Passport.Models;   

namespace TX.Passport.Repositories
{
    /// <summary>
    /// 操作存储库
    /// </summary>
    public interface IOperationRepository{        
        IQueryable<Operation> GetOperations(QueryOption<Operation> option = null);
        Operation AddOperation(Operation model);
        void RemoveOperation(Operation model);
        void UpdateOperation(Operation model);
    }
}